package com.hndct;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by zc on 2017/4/14.
 */
@Configuration
public class DataPopulator {
    private final Logger log = LoggerFactory.getLogger(DataPopulator.class);

    @Bean
    public BeanPopulator populatedb() throws Exception {

        log.info("《《《《《《《《初始化数据完成》》》》》》》》》");
        return new BeanPopulator();
    }

    class BeanPopulator {
    }
}
